<form class="form-horizontal" id="myForms_{$vo.group}">
   <!--{volist name="vo.list" id="bo"}-->
       <!--{if $key neq '0' || $vo.group eq 'weixin'}-->
		<div class="hr-line-dashed"></div>
       <!--{/if}-->
       <!--{if $bo.type eq 'text'}-->
	    <div class="form-group"><label class="col-sm-2 control-label">(<em>{$bo.name}</em>)&nbsp;{$bo.title}</label>
	        <div class="col-sm-8">
	        	 <input type="text" class="form-control" id="{$bo.name}" data-sqlid="{$bo.id}" name="{$bo.name}" value="{$bo.value}">
                 <!--{if $bo.tip}-->
	        	 <span class="help-block m-b-none">{$bo.tip}</span>
	        	 <!--{/if}-->
	        </div>
            <label class="col-sm-1 control-label">排序</label>
	        <div class="col-sm-1">
	        	 <input type="text" class="form-control" id="{$bo.name}_sort" value="{$bo.sort}">
	        	 <span class="help-block m-b-none">值越小越靠前</span>
	        </div>
	    </div>
       <!--{/if}-->

       <!--{if $bo.type eq 'select'}-->
	    <div class="form-group"><label class="col-sm-2 control-label">(<em>{$bo.name}</em>)&nbsp;{$bo.title}</label>
	        <div class="col-sm-8">
                 <select class="form-control" id="{$bo.name}" data-sqlid="{$bo.id}" name="{$bo.name}">
                  <!--{volist name="bo.listarr" id="co"}-->
                    <option value="{$co.val}" {if $co.val eq $bo.value}selected="true"{/if}>{$co.name}</option>
                  <!--{/volist}-->
                 </select>
                 <!--{if $bo.tip}-->
	        	 <span class="help-block m-b-none">{$bo.tip}</span>
	        	 <!--{/if}-->
	        </div>
            <label class="col-sm-1 control-label">排序</label>
	        <div class="col-sm-1">
	        	 <input type="text" class="form-control" id="{$bo.name}_sort" value="{$bo.sort}">
	        	 <span class="help-block m-b-none">值越小越靠前</span>
	        </div>
	    </div>
       <!--{/if}-->

       <!--{if $bo.type eq 'radio'}-->
	    <div class="form-group"><label class="col-sm-2 control-label">(<em>{$bo.name}</em>)&nbsp;{$bo.title}</label>
	        <div class="col-sm-8">
                 <!--{volist name="bo.listarr" id="co"}-->
	             <label class="checkbox-inline i-checks"> <input type="radio" value="{$co.val}" data-sqlid="{$bo.id}" name="{$bo.name}" {if $co.val eq $bo.value}checked="true"{/if}> {$co.name}</label>
	             <!--{/volist}-->
                 <!--{if $bo.tip}-->
	        	 <span class="help-block m-b-none">{$bo.tip}</span>
	        	 <!--{/if}-->
	        </div>
            <label class="col-sm-1 control-label">排序</label>
	        <div class="col-sm-1">
	        	 <input type="text" class="form-control" id="{$bo.name}_sort" value="{$bo.sort}">
	        	 <span class="help-block m-b-none">值越小越靠前</span>
	        </div>
	    </div>
       <!--{/if}-->

       <!--{if $bo.type eq 'textarea'}-->
	    <div class="form-group"><label class="col-sm-2 control-label">(<em>{$bo.name}</em>)&nbsp;{$bo.title}</label>
	        <div class="col-sm-8">
	        	 <textarea rows="5" class="form-control" id="{$bo.name}" data-sqlid="{$bo.id}" name="{$bo.name}">{$bo.value}</textarea>
                 <!--{if $bo.tip}-->
	        	 <span class="help-block m-b-none">{$bo.tip}</span>
	        	 <!--{/if}-->
	        </div>
            <label class="col-sm-1 control-label">排序</label>
	        <div class="col-sm-1">
	        	 <input type="text" class="form-control" id="{$bo.name}_sort" value="{$bo.sort}">
	        	 <span class="help-block m-b-none">值越小越靠前</span>
	        </div>
	    </div>
       <!--{/if}-->

       <!--{if $bo.type eq 'file'}-->
	    <div class="form-group">
            <label class="col-sm-2 control-label">(<em>{$bo.name}</em>)&nbsp;{$bo.title}</label>
            <div class="col-sm-6">
                <input type="text" class="form-control" id="{$bo.name}" data-sqlid="{$bo.id}" name="{$bo.name}" value="{$bo.value}">
                 <!--{if $bo.tip}-->
	        	 <span class="help-block m-b-none">{$bo.tip}</span>
	        	 <!--{/if}-->
            </div>
            <label class="col-sm-1 control-label" style="padding-top:2px;">
            	<label title="点击开始上传文件" for="img_file_{$bo.id}" class="btn btn-success btn-sm">
                   <input type="file" accept="image/*" name="img_file_{$bo.id}" id="img_file_{$bo.id}" class="hide" data-iptobj="{$bo.name}" data-imgobj="img_box_{$bo.id}"><i class="fa fa-upload"></i>&nbsp;&nbsp;上传
                </label>
            </label>
            <div class="col-sm-1" id="img_box_{$bo.id}">
            	<!--{if $bo.value}-->
                 <img src="{$bo.value}" style="width:50px;height:auto;"/> 
                <!--{/if}-->
            </div>
            <label class="col-sm-1 control-label">排序</label>
	        <div class="col-sm-1">
	        	 <input type="text" class="form-control" id="{$bo.name}_sort" value="{$bo.sort}">
	        	 <span class="help-block m-b-none">值越小越靠前</span>
	        </div>
	    </div>
       <!--{/if}-->

    <!--{/volist}-->
    <div class="hr-line-dashed"></div>
    <div class="form-group">
        <div class="col-sm-4 col-sm-offset-2">
            <button class="btn btn-primary" type="button" onClick="saveAction('myForms_{$vo.group}');" style="padding: 10px 50px;">保 存</button>
        </div>
    </div>

</form>